#ifndef SCANNER_H
#define SCANNER_H

#include "Headers.h"
#include "Console.h"
#include "Communicate.h"

class Scanner
{
private:
    QVector<QString> * _tokens;
    QString * _content;
    void showErr(int * line,QString * ErrCont, int type=0);
public:
    Scanner(QString * content);
    bool scan();
    QVector<QString> * getTokens() const;
    ~Scanner();
};

#endif // SCANNER_H
